IMotion.GetAxisState method

Gets the state of the selected axis.

Namespace: IntervalZero.KINGSTAR.Base.Api

Assembly: IntervalZero.KINGSTAR.Base.Api (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0

Syntax

C#VB
KsReturn<AxisState> GetAxisState(
       int Index
)
Function GetAxisState(
       Index As Integer
) As KsReturn(Of AxisState)

Parameters

Index [in]

Type: int

The index of an axis. Indexes are zero based. Aliases affect this parameter.

Return value

Type: KsReturn<AxisState>

Returns a KsError code and an AxisState value.

Examples

C#
N/A

See also

IMotion Interface

IntervalZero.KINGSTAR.Base.Api Namespace